﻿using System;

namespace MessagePack.Formatters
{
	// Token: 0x02000024 RID: 36
	public interface IMessagePackFormatter<T>
	{
		// Token: 0x06000086 RID: 134
		int Serialize(ref byte[] bytes, int offset, T value, IFormatterResolver formatterResolver);

		// Token: 0x06000087 RID: 135
		T Deserialize(byte[] bytes, int offset, IFormatterResolver formatterResolver, out int readSize);
	}
}
